package com.zhentao.mapper;

import com.zhentao.model.activity.dto.ActivityDto;
import com.zhentao.model.activity.dto.JoinDto;
import com.zhentao.model.activity.pojo.AdActivity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 许文倩
* @description 针对表【ad_activity】的数据库操作Mapper
* @createDate 2024-07-02 18:56:15
* @Entity com.zhentao.pojo.AdActivity
*/
public interface AdActivityMapper extends BaseMapper<AdActivity> {

    List<JoinDto> selectListJoin(ActivityDto dto);


    JoinDto selectJoin(@Param("id") Integer id,@Param("userId") Integer userId);

    JoinDto selectOneAc(Integer id);
}




